<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>

      <table align="center" border="1px" width="500px" cellpadding="5px" cellspacing="0px"/>
         <caption><h1>图书管理系统</h1></caption>
         <form action="${pageContext.request.contextPath}/book?action=add" method="post">
         	   <tr>
         	   	  <td>图书名称</td>
         	   	  <td><input type="text" name="name" id="name"></td>
         	   </tr>
         	   <tr>
         	   	  <td>图书作者</td>
         	   	  <td><input type="text" name="author" id="author"></td>
         	   </tr>
         	   <tr>
         	   	  <td>图书出版社</td>
         	   	  <td><input type="text" name="publish" id="publish"></td>
         	   </tr>
         	   <tr>
         	   	  <td>图书价格</td>
         	   	  <td><input type="text" name="price" id="price"></td>
         	   </tr>
         	   <tr>
         	   	  <td>上架时间</td>
         	   	  <td><input type="date" name="crtTime" id="crtTime"></td>
         	   </tr>
         	   
         	    <tr align="center">
         	   	  <td colspan="2">
         	   	  	<input type="submit" value="添加">
         	   	  	<input type="reset" value="清空">
         	   	  </td>
         	   </tr>
         	   
         </form>
      </table>

</body>
</html>